<%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<c:import url="../../pager/pagerForm.jsp"></c:import>
<div class="pageHeader">
	<form method="post" rel="pagerForm" action="<c:url value='/findtklist.do'/>" onsubmit="return navTabSearch(this)">
	<div class="searchBar">
		
		<table class="searchContent">
			<tr>
				<td>
					关键字：<input type="text" placeholder="科目名" name="keywords" value="${dwzPage.keywords}" /> [科目名]
				</td>
			</tr>
		</table>
		<div class="subBar">
		<span style="margin-left: 5px; line-height: 25px; float: left">匹配: <strong>${dwzPage.totalCount}</strong> 条</span>
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="delete" href="tkcurd.do?method=del&id={sid_tk}" target="ajaxTodo" title="确定要删除吗?"><span>删除科目</span></a></li>
			<li><a class="edit" href="tkcurd.do?method=edit&id={sid_tk}" target="navTab" rel="edittk" title="修改科目"><span>修改科目</span></a></li>
			<li class="line">line</li>
			
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="80">序号</th>
				<th width="100">科目名称</th>
				<th width="100">单选题总分数</th>
				<th width="100">多选题总分数</th>
				<th width="100">试卷总分数</th>
			</tr>
		</thead>
		<tbody>
		    <c:forEach varStatus="s" items="${dwzPage.list }" var="item" >
			<tr target="sid_tk" rel="${item.id }">
				<td><c:out value="${s.index + 1}"/></td>
				<td>${item.title }</td>
				<c:if test="${item.type eq '1' }">
				<td>${item.tm1score }</td>
				<td>${item.tm2score }</td>
				</c:if>
				<c:if test="${item.type eq '2' }">
				<td colspan="2" align="center" style="background:blue">本科目非理论考试，为操作考试</td>
				</c:if>
				<td>${item.tkscore }</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
	
	<c:import url="../../pager/panelBar.jsp"></c:import>
</div>
